/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2306                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      addRoughnessDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

bedType  slope;// 1. plane
               // 2. slope 

// Streamwise component of flow. 0=x, 1=y, 2=z
streamwise 0;
//spanwise   1; // 此时由，xy平面决定bed，坐标会加在x, y, z方向。
              // 如果bed与xy存在夹角，会考虑该夹角

spanwise 2;

bedStreamLength 1;
bedStreamGrid 20;

bedSpanLength 1;
bedSpanGrid 20;
// 床面所在边界的名字
bedpatchname bed;

// ************************************************************************* //
